package com.catbad.vo;

import java.util.List;

public class RoomVO {
    private List<?> roomList;

    private Integer maxPage ; //最大页数
    private Integer pageNo ; //当前页数
    private Integer rows ; //一页多少行
    private Long total ; //总共行数

    public RoomVO() {
    }

    public RoomVO(List<?> roomList, Integer maxPage, Integer pageNo, Integer rows, Long total) {
        this.roomList = roomList;
        this.maxPage = maxPage;
        this.pageNo = pageNo;
        this.rows = rows;
        this.total = total;
    }

    public List<?> getRoomList() {
        return roomList;
    }

    public void setRoomList(List<?> roomList) {
        this.roomList = roomList;
    }

    public Integer getMaxPage() {
        return maxPage;
    }

    public void setMaxPage(Integer maxPage) {
        this.maxPage = maxPage;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
